<?php

# 基本配置

use plugin\ycMassage\utils\enum\MchQualifications;

return [
    [
        'name' => 'qualifications',
        'title' => '资质证明',
        'component' => 'checkbox',
        'value' => [],
        'extra' => [
            'options' => MchQualifications::getOptions()
        ],
    ],
    [
        'name' => 'force_realname',
        'title' => '强制实名',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭',
            ]
        ]
    ],
    [
        'name' => 'allow_technician_scheduling',
        'title' => '允许技师自行排班',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭',
            ]
        ]
    ],
];
